static unsigned short saved_irq_cnt = 0;
static int xen_slab_ready = 0;
+#ifdef CONFIG_SMP
/* Dummy stub. Though we may check RESCHEDULE_VECTOR before __do_IRQ,
* it ends up to issue several memory accesses upon percpu data and
* thus adds unnecessary traffic to other paths.
.flags = SA_INTERRUPT,
.name = "RESCHED"
};
+#endif
/*
* This is xen version percpu irq registration, which needs bind
if (is_running_on_xen()) {
int irq = -1;
+#ifdef CONFIG_SMP
/* TODO: we need to call vcpu_up here */
if (unlikely(vector == ap_wakeup_vector)) {
extern void xen_send_ipi (int cpu, int vec);
//vcpu_prepare_and_up(cpu);
return;
}
+#endif
switch(vector) {
case IA64_IPI_VECTOR: